package com.dmx.platform.dao;

import java.util.List;

import com.dmx.fw.dao.interfaces.Dao;
import com.dmx.platform.bean.PriceBean;
import com.dmx.platform.entity.TBaseinfo;
import com.dmx.platform.entity.TDetailinfo;
import com.dmx.platform.entity.TPricePlan;

/**
 *@author: Beni Yang
 *@date:2012-8-18
 *@function:
 * @param <T>
 */
public interface InformationDao extends Dao{
	
    public void batchDeleteBaseInfoByIds(String[] ids);

    public void deleteBaseInfoById(String id);

    public void saveOrUpdateBaseInfo(TBaseinfo baseInfo);

    public TBaseinfo findBaseInfoById(String id);
    
    public void saveOrUpdateDetailInfo(TDetailinfo detailInfo);
    
    public List<TPricePlan> findPricePlan(Integer ownerId);
    
    public boolean saveOrUpdatePricePlan(List<TPricePlan> priceList);
    
    public boolean deletePricePlanByOwnerId(Integer ownerId);
    
	

}
